#ifndef CFGHANDLE_H
#define CFGHANDLE_H

#include <QObject>
class QSettings;

class CfgHandle
{
public:
    explicit CfgHandle();
    ~CfgHandle();

    void init(QString cfg_url);
    QMap<QString, QVariant> load(QString grp_name);
    void update(QString key, QString value);

private:
    QSettings *cfg_set;

    void generate();
};

#endif // CFGHANDLE_H
